package org.FaPe3D.utils
{
	public class RegisterProperties
	{
		public static function register(element:*,properties:Object = null)
		{
			if(element && properties)
			{
				for(var prop in properties)
				{
					if(element.hasOwnProperty(prop))
					{
						element[prop] = properties[prop];
					}
				}
			}
		}

	}
}